package com.aabte.auth.account.resource.facade.assembler;

import com.aabte.auth.account.resource.api.role.RoleDTO;
import com.aabte.auth.role.domain.model.Role;

public class RoleDTOAssembler {
    public RoleDTO toDTO(Role role) {
        return new RoleDTO(role.getRoleId().getId(), role.getRoleName().getName());
    }
}
